﻿namespace FileManager_Client.Utility
{
    public class GlobalString
    {
        public class System_Config_String
        {
            public static string ConfigSectionName = "SSOConfigSection";
            public static string ConfigMd5TypeName = "MD5Cng";
            public static string ConfigDpapiCryptName = "DPAPI Symmetric Crypto Provider";
            public static string ConfigUserSessionName = "MMSMUserSession";
            public static string UserUploadPicTempPath = "/User_Resource/User_Avatar_Temp/";
            public static string UserUploadPicPath = "/User_Resource/User_Avatar/";
            public static string DepartmentCacheString = "DepartmentCache";
            public static string OfficePostCacheString = "OfficePostCache";
            public static int DepatmentListSkipNumber = 5;
            public static int OfficePostListSkipNumber = 5;
            public static int UserInfoListSkipNumber = 6;
            public static int WebSiteListNumber = 12;
            public static string encodeStr_Key = "1234567890";
            public static string Wcf_FileServiceCacheKey = "FileWcfCache";
            public static string Wcf_NotifyServiceCacheKey = "NotifyWcfCache";
            public static string Wcf_FileTransferServiceCacheKey = "Wcf_FileTransferServiceCacheKey";
            public static string EncodeMd5Key = "md5";
            public static string UserSession = "UserSession";
            public static string CompanyCollectionCache = "CompanyCollectionCache";
            public static string FolderCollectionCache = "FolderCollectionCache";
            public static string FolderRoleCollectionCache = "FolderRoleCollectionCache";
            public static string CompanyGroupCollectionCache = "CompanyGroupCollectionCache";
            public static string UserGroupCollectionCache = "UserGroupCollectionCache";
            public static string AllCompanyCollectionCache = "AllCompanyCollectionCache";
            public static string DepartmentSizeCollectionCache = "DepartmentSizeCollectionCache";

            public static string UserLocalAppConfig = "UserLocalAppConfig.data";
            public static string SystemLocalFilePath = "SystemLocalAppConfig.data";
            public static string UserUploadingBreakFile = "UserUploadingBreakFile.data";
            public static string UserUploadLogFile = "UserUploadLogFile.data";
            public static string UserDownloadingBreakFile = "UserDownloadingBreakFile.data";
            public static string UserDownloadLogFile = "UserDownloadLogFilePath.data";

            public static string InstanceHasRun = "程序已经启动!";
            public static string SkinFileString = "office2007.ssk";

            public static string LoginPassLoadingStr = "用户验证成功，正在获取最新部门信息!";
            public static string LoginPassLoadingFolderStr = "用户验证成功，正在获取最新文件夹信息!";
            public static string CreateFolderLoadingFolderStr = "创建文件夹成功，正在获取最新文件夹信息!";
            public static string CreateFolderLoadingFolderRoleStr = "创建文件夹成功，正在获取最新权限信息!";

            public static string DeleteFolderLoadingFolderStr = "删除文件夹成功，正在获取最新文件夹信息!";
            public static string DeleteFolderLoadingFolderRoleStr = "删除文件夹成功，正在获取最新权限信息!";

            public static string LoginPassLoadingFolderRoleStr = "用户验证成功，正在获取最新权限信息!";
            public static string LoadingPleaseWaitStr = "请稍候...";
            public static string LoginLoadingStr = "正在验证用户信息!";
            public static string GetFolderFileCollectionLoadingStr = "正在获取文件.....!";
            public static string MbxInfoStr = "提示信息!";
            public static string UploadFileMessageBox = "确定要上传 {0} 个文件吗?";
            public static string DeleteFileMessageBox = "确定要删除当前文件吗? 文件名: {0} ";
            public static string DeleteingFileStr = "正在删除文件!";
            public static string DeleteFileStr = "删除文件成功!";
            public static string DeleteFolderStr = "删除文件夹成功!";

            public static string FileReNameStr = "正在修改文件名称!";
            public static string FileSearchStr = "正在搜索文件!";
            public static string FolderReNameStr = "正在修改文件夹名称!";

            public static string FolderCopyStr = "正在复制文件夹!";
            public static string FolderCutStr = "正在剪切文件夹!";
            public static string FileCopyStr = "正在复制文件!";
            public static string FileCutStr = "正在剪切文件!";


            public static string GetFolderRoleStr = "正在获取文件夹权限信息!";
            public static string ChangeFolderRoleStr = "正在修改文件夹权限!";
            public static string AddFolderRoleStr = "正在添加新的权限!";
            public static string DeleteFolderRoleStr = "正在删除文件夹权限!";
            public static string ApplyRoleToSubFolder = "正在应用该权限至所有子文件夹!";

            public static string DeleteFolderMessageBox = "确定要删除当前文件夹以及该文件夹中的所有文件吗? 文件夹名: {0} ";
            public static string DeleteingFolderStr = "正在删除文件夹!";

            public static string SearchUserStr = "正在搜索用户!";
            public static string GetCompanyGroupAndUserGroup = "正在获取组织机构与部门信息!";
            public static string DeleteSubFolderRoleStr = "是否删除所有子文件夹权限?";

            public static string GetFileLogStr = "正在获取文件夹日志信息!";

            public static string RoleTypeNameAnyOneStr = "类型：AnyOne 组";
            public static string RoleTypeNameCompanyGroupStr = "类型：组织机构公共组";
            public static string RoleTypeNameUserGroupStr = "类型：人员公共组";
            public static string RoleTypeNameCompanyStr = "类型：组织机构";
            public static string RoleTypeNameUserStr = "类型：人员";

            public static string LogPageButoomStr = "总共 {0} 条记录,当前第 {1} 页,共 {2} 页,每页 {3} 条记录";
            public static string FolderHaventRoleStr = "当前目录中您没有权限!";
            public static string NotifyMessageOpenFolderStr = " 用户 {0} 上传了文件 {1}, 请您查看!";

        }

        public class System_Exception_String
        {
            public static string LogicExceptionStr = "登录异常!";
            public static string UserNameOrPassErrorStr = "用户名或密码错误!";
            public static string AccountLockStr = "账户被锁定或注销!!";
            
            public static string InputNullLoginStr = "用户名和密码不能为空!";
            public static string RemoteServiceError = "远程服务异常,请联系管理员!";
            public static string GetCompanyCollectionExceptionStr = "获取部门信息异常!";
            public static string GetFolderCollectionExceptionStr = "获取文件夹信息异常!";
            public static string GetFolderRoleCollectionExceptionStr = "获取权限信息异常!";
            public static string GetFolderFileCollectionExceptionStr = "获取文件集合信息异常,请联系管理员!";
            public static string GetFolderFileCollectionLoadingStr = "正在获取文件,请稍后操作!";
            public static string MbxErrorStr = "错误信息";
            public static string DeleteFileExceptionStr = "删除文件异常，请联系管理员!";
            public static string NotFindFileExceptionStr = "该文件在服务器未找到，请联系管理员!";
            public static string FileReNameExceptionStr = "修改文件名异常，请联系管理员!";
            public static string NotFindFolderExceptionStr = "该文件夹在服务器未找到，请联系管理员!";
            public static string FolderReNameExceptionStr = "修改文件夹名称异常，请联系管理员!";
            public static string DeleteFolderExceptionStr = "删除文件夹异常，请联系管理员!";
            public static string CreateFolderException = "创建文件夹异常，请联系管理员!";
            public static string CreateFolderHaveFolderExpcetion = "服务器已存在该文件夹！";
            public static string UserLogOffStr = "服务器发生异常，请稍后登录!";
            public static string FileUploadingExceptionStr = "当前文件已经有上传操作，请稍后再尝试!";

            public static string GetFolderRoleExceptionStr = "服务器异常，请联系管理员!";
            public static string UserRepeatLogin = "用户已在其他登录地方登录，请联系管理员!";
        }

        public class System_Image_String
        {
            public static string CompanyImageKey = "department";
            public static string FolderImageKey = "folder";
            public static string FolderOpenImageKey = "openfolder";
            public static string FolderPngImageKey = "folder";

            public static string AccessImageKey = "access";
            public static string TxtImageKey = "txt";
            public static string ExcelImageKey = "excel";
            public static string OutlookImageKey = "outlook";
            public static string PdfImageKey = "pdf";
            public static string PptImageKey = "ppt";
            public static string PsdImageKey = "psd";
            public static string WordImageKey = "word";
            public static string ZipImageKey = "zip";
            public static string RarImageKey = "rar";
            public static string JpgImageKey = "jpg";
            public static string PngImageKey = "png";
            public static string GifImageKey = "gif";
            public static string BmpImageKey = "bmp";
            public static string ExeImageKey = "exe";
            public static string HtmlImageKey = "document";
            public static string Mp3ImageKey = "mp3";
            public static string WmaImageKey = "wav";
            public static string AviImageKey = "avi";
            public static string BatImageKey = "bat";
        }
    }
}